package com.itheima.elasticsearchdemo2.mapper;

import com.itheima.elasticsearchdemo2.domain.Goods;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository // 交由spring进行创建
@Mapper
public interface GoodsMapper{
    public List<Goods> findAll();
}
